//
//  SMAlbumViewController.h
//  cherryproduct
//
//  Created by zou shigang on 14/8/30.
//  Copyright (c) 2014年 cherry. All rights reserved.
//

#import "BaseViewController.h"
#import <AssetsLibrary/AssetsLibrary.h>

#define CELLID @"AlbumCell"
#define CELLID_FOOTET @"ALbumFooter"

typedef void(^DISMISS_D)(NSInteger code);

@interface SMAlbumViewController : BaseViewController<UICollectionViewDataSource, UICollectionViewDelegate>

@property (strong, nonatomic) UICollectionView *album_local;

@property (nonatomic, weak) NSMutableArray * array_assert;
@property (nonatomic, weak) NSMutableArray * array_select;

@property (nonatomic, copy) DISMISS_D block_dismiss;

@property (nonatomic, weak) ALAssetsLibrary * assetsLibrary;

@property (nonatomic, assign) BOOL m_b_have_load_img;//是否已经加载过照片

@end


#pragma mark -
#pragma mark co_cell

@interface AlbumCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet UIImageView * image_thumb;
@property (weak, nonatomic) IBOutlet UIImageView *select_image;

@end


@interface ALbumFooter : UICollectionReusableView

@property (weak, nonatomic) IBOutlet UILabel *label_num;

@end

@interface ALbumHeader : UICollectionReusableView

@end













